<!DOCTYPE html>
<html>

  <head>
    <meta charset="UTF-8">
    <title></title>
  </head>

  <body>
    <div>
      <%=title%>
    </div>
    <div id='clickDiv' style="border: 1px solid red;">点我</div>
  </body>

  <script src="./js/jquery.min.js"></script>
  <script type="text/javascript">
    $(function() {
      $('#clickDiv').on('click', function() {
        $.ajax({
          type: "get",
          url: "/login.shtml",
          data: 'six=0',
          async: true,
          success: function(data) {
            console.log(data);
          }
        });
      })

    })
  </script>

</html>